package com.service;

import java.util.List;

import com.dao.ProjectDao;
import com.entity.Project;

public class ProjectService {

	ProjectDao dao=new ProjectDao();
	
	public List<Project> getProjects(String id) {
		
		return dao.getProjects(id);
	}
	
	public void addProject(Project project) {
		dao.addProject(project);
	}
	
	/*public Project getProject(String createtime){
		return dao.getProject(createtime);
	}*/

	public Project getProject(String id) {
		return dao.getProject(id);
	}

	public void updateProject(Project project) {
		dao.updateProject(project);
		
	}

	public List<Project> getAllProject() {
		
		return dao.getAllProject();
	}


}
